package com.clement.spring.study.math;

import java.time.DayOfWeek;
import java.time.LocalDate;

/**
 * this is the experiment of localDate.
 */
public class LocalDateExperiment {

    static LocalDate localDate1 = LocalDate.of(2016, 7, 19);
    static LocalDate localDate2 = LocalDate.of(2016, 8, 15);

    public static void main(String[] args) {
        int day = localDate1.getDayOfMonth();
        DayOfWeek dayOfWeek = localDate1.getDayOfWeek();
        int yearDay = localDate1.getDayOfYear();
    }
}
